package gwtI18nEditor.datamodel;

import java.util.ArrayList;
import java.util.List;

public class TranslationFile {

	private final String				 identifier;
	private final String                 language;
	private final String                 country;
	private final List<TranslationEntry> entries = new ArrayList<TranslationEntry>();
	
	public TranslationFile(String identifier, String language, String country) {
		this.identifier = identifier;
		this.language   = language;
		this.country    = country;
	}

	public String getIdentifier() {
		return identifier;
	}

	public String getLanguage() {
		return language;
	}
	
	public String getCountry() {
		return country;
	}

	public List<TranslationEntry> getEntries() {
		return entries;
	}

	public void addEntry(String identification, String content) {
		entries.add(new TranslationEntry(identification, content));
	}
}
